@import './base.css';
@import './tiptap.css';

body {
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  position: relative;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.ant-picker {
  border: none;
  box-shadow: none;
  background: var(--xz-secondbg);
  color: var(--xz-theme);

  .ant-picker-input {
    span.anticon {
      color: var(--xz-theme);
    }

    input {
      font-size: 14px;
      width: 120px;
      font-weight: bold;
      color: var(--xz-theme);
    }
  }

  &:hover {
    background-color: var(--xz-secondbg);
  }
}

.ant-picker.todo-date-picker {
  background: none;
  padding: 0 4px;

  .ant-picker-input {
    input {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      cursor: pointer;
      max-width: 55px;
      font-size: 10px;
      color: var(--xz-theme);
      text-wrap: nowrap;
    }
  }
}

.ant-picker .ant-picker-input > input[disabled] {
  color: var(--xz-theme);
}

.is-expired {
  .ant-picker-input {
    input {
      color: var(--xz-pink) !important;
    }
  }
}

#message-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  justify-content: flex-end;

  .xz-message {
    display: flex;
    width: fit-content;
    background-color: var(--xz-card-bg);
    border-radius: var(--xz-main-radius);
    border: 1px solid var(--xz-secondbg);
    padding: 6px 15px;
  }
}


